﻿using System;
using System.Collections.Generic;

namespace deviceManage.Models
{
    public partial class Role
    {
        public Role()
        {
            RoleMenu = new HashSet<RoleMenu>();
            RoleUser = new HashSet<RoleUser>();
        }

        public string Id { get; set; }
        public string RoleName { get; set; }
        /// <summary>
        /// 是否为只读的角色
        /// </summary>
        public int? view_flag { get; set; }

        public ICollection<RoleMenu> RoleMenu { get; set; }
        public ICollection<RoleUser> RoleUser { get; set; }
    }
}
